package com.cmccsi.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cmccsi.entity.qxdeptMemberDto;

public interface qxdeptMemberDtoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(qxdeptMemberDto record);

    int insertSelective(qxdeptMemberDto record);

    qxdeptMemberDto selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(qxdeptMemberDto record);

    int updateByPrimaryKey(qxdeptMemberDto record);
    
    List<Long> selectMemberIdsByDeptId(Long deptId);
    
     Boolean deleteByDeptidAndMemberids(@Param(value = "deptId") Long deptId, @Param(value = "userIds") Long[] userIds);
}